Release 10.1A: OpenEdge Application Server:
Administration


ADAPTMAN

Starts, stops, queries, and kills an existing OpenEdge Adapter for SonicMQ BrokerConnect broker or manipulates brokers on other machines by specifying name of the machine and the port the AdminServer is running on.

Syntax

Operating system
Syntax
UNIX
Windows
adaptman {
  { -name adapter-broker
    { -kill | -start | -stop | -query }
    [ -host host-name -user user-name | -user user-name ]
    [ -port port-number ]
  } | -help } 

-name adapter-broker

Name of the SonicMQ Broker for BrokerConnect (required). -i is also valid.

-kill

Causes emergency shutdown of the SonicMQ Broker for BrokerConnect. -k is also valid.

-start

Starts the named SonicMQ Broker for BrokerConnect. -x is also valid.

-stop

Stops the SonicMQ Broker for BrokerConnect. -e is also valid.

-query

Queries the named SonicMQ Broker for BrokerConnect. -q is also valid.

-host host-name

Host name where the AdminServer is running.

-user user-name

User name. -u is also valid.

-port port-number

Port number of the running AdminServer.

-help

Displays command-line help. -h is also valid.

Note

Enter the -i or the -name parameter followed by the name of the SonicMQ Broker for BrokerConnect and then the command to start, stop, query, or kill a broker.

Examples

Table B–1 shows several examples that use the adaptman command to start an instance called SonicMQ1.

Table B–1: ADAPTMAN command examples 
Task
Command
Start an instance called SonicMQ1.
adaptman -i sonicMQ1 -start 
Query the instance for its status.
adaptman -i sonicMQ1 -query 
Stop an instance.
adaptman -name sonicMQ1 -stop 
Get status of an instance on the machine whose AdminServer is on port 12935.
adaptman -host xxxxxx -port 12935 -i 
sonicMQ1 -q 
Kill an instance.
adaptman -i sonicMQ1 -kill 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095